<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        a{
            background-color: #0aa1ed;
            /*把行内元素改为块级元素*/
            display: block;
            width: 123px;
            height: 40px;
            text-align: center;
            line-height: 40px;
            color: red;
            font-size: 10px;
            /*去掉下划线*/
            text-decoration: none;
            /*设置圆角*/
            border-radius: 3px;
        }
        img{
            width: 200px;
            height: 150px;


        }
        span{
            border:2px solid red;
            display: block;
            width: 100px;
            height: 100px;
        }
        div{
            width: 200px;
            height: 200px;
            border:2px solid yellow;

        }
    </style>
</head>
<body>
<a href="">查看详情</a>
<img src="hs.jpg" alt="">
<img src="tp.jpg.jpg" alt="">
<img src="../hes.jpg" alt="">
<div>div1</div>
<div>div2</div>
<div>div3</div>
<span>span1</span>
<span>span2</span>
<span>span3</span>
</body>
</html>